<p>Nhập thông tin tìm kiếm bài thơ</p>

<form method="post" action="">
<table class="table table-condensed" style="width: 100%;">
    <tr>
        <td style="vertical-align: middle; width: 100px;">
            <label for="danh_muc">Danh mục</label>
        </td>
        <td>
            <select name="category" class="selectpicker" data-live-search="true">
                <?php
                    echo '"<option value="0">Tìm kiếm tất cả danh mục</option>"';
                    foreach ($list_category as $category) {
                        echo '"<option value="'. $category->id . '"' .">$category->caption</option>";
                    }
                ?>
            </select>
        </td>
    </tr>
    <tr>
        <td style="vertical-align: middle; width: 100px;">
            <label for="danh_muc">Tên bài thơ</label>
        </td>
        <td>
            <input type="text" name="poetic_caption" class="form-control" placeholder="Nhập tên bài thơ" aria-describedby="basic-addon1">
        </td>
    </tr>
    <tr>
        <th colspan="2">
            <input type="submit" name="btnSearch" class="btn btn-primary" value="Tìm kiếm"></input>
            <a class="btn btn-primary" href="../insert/quan-ly-bai-tho" role="button">Thêm mới bài thơ</a>
        </th>
    </tr>
</table>
</form>

<script>
    $('.selectpicker').selectpicker();
    $('.selectpicker').selectpicker({
        style: 'btn-info',
        size: 10
    });
</script>